package com.ll.SchoolSafe.Service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ll.SchoolSafe.Dao.ClassDao;
import com.ll.SchoolSafe.Service.ClassService;
import com.ll.SchoolSafe.pojo.Classes;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClassServiceImpl extends ServiceImpl<ClassDao, Classes> implements ClassService {
    @Autowired
    private ClassDao classDao;
    public List<Classes> getAllClass() {
        return classDao.getAllClass();
    }
}
